package com.design.pattern.structural.proxy;

/**
 * @Author hanyuanlai
 * @Date 2022/7/17
 */
public class Test {
    public static void main(String[] args) {
        Tank tank = new Tank();
        TimeProxy timeProxy = new TimeProxy(tank);
        LogProxy logProxy = new LogProxy(tank);
        timeProxy.move();
        logProxy.move();
    }
}
